We are going to need a method for toggling the visibility from the
accessibility layer.
if (entry->keyboard)
caps_lock_state_changed (entry->keyboard, NULL, widget);
}
-
-static void
+
+/*< private >
+ * gtk_password_entry_toggle_peek:
+ * @entry: a #GtkPasswordEntry
+ *
+ * Toggles the text visibility.
+ */
+void
gtk_password_entry_toggle_peek (GtkPasswordEntry *entry)
{
gboolean visibility;
GtkText * gtk_password_entry_get_text_widget (GtkPasswordEntry *entry);
+void gtk_password_entry_toggle_peek (GtkPasswordEntry *entry);
+
G_END_DECLS